package com.molichuxing.gateway.bff.terminal.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 设备详情信息
 * </p>
 *
 * @author zph
 * @since 2019-08-26
 */
@Data
public class DeviceErrorInfoVo extends ResponseRootDto {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备状态（100-未知、0-正常、1-异常）")
    private Integer status;

    @ApiModelProperty(value = "设备状态Str")
    private String statusStr;

    @ApiModelProperty(value = "异常说明")
    private String errorMessage;

    @ApiModelProperty(value = "故障时间")
    private LocalDateTime errorTime;

}
